package game.leon.engine.net;

import org.apache.mina.core.session.IoSession;

/**
 * 对外保持的session网络中保持的session
 * User: bianpeng
 * Date: 12-1-5
 */
public class GameSession {
    private IoSession ioSession;
    private long userId;
    GameSession(IoSession ioSession) {
        this.ioSession = ioSession;
    }
    public IoSession getIoSession() {
        return ioSession;
    }
    public long getUserId() {
        return userId;
    }
    public void setUserId(long userId) {
        this.userId = userId;
    }
}
